package com.ruoyi.index.mapper;

import com.ruoyi.index.domain.PostcommentsLike;
import com.ruoyi.index.dto.FhIndexPostcommentsLikeDto;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * 点赞评论 Mapper接口
 */
public interface IndexPostcommentsLikeMapper
{

    //点赞评论
    public int likePostcomments(PostcommentsLike postcommentsLike);

    //取消点赞评论
    public int unlikePostcomments(PostcommentsLike postcommentsLike);

    //查询点赞状态
    public PostcommentsLike getLikeStatus(PostcommentsLike postcommentsLike);

    List<FhIndexPostcommentsLikeDto> notificationList(@Param("postcommentsId") Long postcommentsId);
}
